package com.hxd.otc.module.my.activity;

import android.os.Bundle;

import com.hxd.otc.R;
import com.hxd.otc.base.BaseActivity;
import com.hxd.otc.common.enums.NoticeType;
import com.hxd.otc.module.my.fragment.AfficheFragment;
import com.hxd.otc.mvp.base.BasePresenter;

/**
 * Created by lzy on 2018/6/15 0015.
 * description ${公告}
 */
public class AfficheActivity extends BaseActivity {

    @Override
    protected int getLayoutId() {
        return R.layout.activity_affiche;
    }

    @Override
    protected void initView() {
        AfficheFragment afficheFragment = new AfficheFragment();

        Bundle bundle = new Bundle();
        bundle.putSerializable(AfficheFragment.EXTRA_NOTIFY_TYPE, NoticeType.AFFICHE);
        afficheFragment.setArguments(bundle);

        getSupportFragmentManager()
                .beginTransaction()
                .replace(R.id.fl_container, afficheFragment)
                .commit();
    }

    @Override
    protected void initData() {
    }

    @Override
    protected void initEvent() {
    }

    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

}
